#!/bin/sh /etc/rc.common

START=99

help() {
  cat <<EOF
Syntax: /etc/init.d/lte_led [command]

Available commands:
        start   Start the service
        stop    Stop the service

EOF
}

start() {
  exec /usr/sbin/lte_led_check &
}

stop() {
  local pid
  for pid in $(pgrep -f "/usr/sbin/lte_led_check"); do
    kill -KILL "$pid" >/dev/null 2>&1
  done
}

restart() {
  stop
  start
}
